From e45352887855decfe3361b4d75c23715d79f4f2d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 23 Feb 1993 18:49:33 +0000 Subject: [PATCH] (read_avail_input): Args to `kill' were backwards. --- src/keyboard.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/keyboard.c b/src/keyboard.c index 42afeb3f0d0..d17390433ed 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -2545,6 +2545,9 @@ read_avail_input (expected) /* Formerly simply reported no input, but that sometimes led to a failure of Emacs to terminate. SIGHUP seems appropriate if we can't reach the terminal. */ + /* ??? Is it really right to send the signal just to this process + rather than to the whole process group? + Perhaps on systems with FIONREAD Emacs is alone in its group. */ kill (getpid (), SIGHUP); if (nread == 0) return 0; -- 2.30.2